package com.base.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.po.sqlparam.SmsinfoesExamplePage;
import com.base.po.voip.Smsinfoes;
import com.base.po.voip.SmsinfoesExample;

public interface SmsinfoesService {
	int countByExample(SmsinfoesExample example);

	int deleteByExample(SmsinfoesExample example);

	int deleteByPrimaryKey(String id);

	int insert(String mobile, Integer num, Integer status, String city, String agentid, String apistatus);

	int insertSelective(Smsinfoes record);

	List<Smsinfoes> selectByExample(SmsinfoesExample example);

	List<Smsinfoes> selectByExamplePage(SmsinfoesExamplePage example);

	Smsinfoes selectByPrimaryKey(String id);
	
	List<Smsinfoes> selectByAgentIDAndMobile(@Param("agentid") String agentid, @Param("mobile") String mobile);

	int updateByExampleSelective(@Param("record") Smsinfoes record, @Param("example") SmsinfoesExample example);

	int updateByExample(@Param("record") Smsinfoes record, @Param("example") SmsinfoesExample example);

	int updateByPrimaryKeySelective(Smsinfoes record);

	int updateByPrimaryKey(Smsinfoes record);
}
